﻿using System;
using UnityEngine;

public class SetEulerAngles : MonoBehaviour
{
    public Vector3 eulerAngles;
    public Transform target;
    private Transform tsm;

    private void Awake()
    {
        this.tsm = base.transform;
    }

    private void LateUpdate()
    {
        if (this.target != null)
        {
            this.tsm.eulerAngles = this.eulerAngles;
        }
    }
}

